package com.linkage.usercenter.pojo.entity;


import com.linkage.usercenter.pojo.baseDO.TableBaseBO;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : CORE_PERSON_INFO
 * @author dev
 * @date 2020-05-02 00:29:15
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Data
public class CorePersonInfo extends TableBaseBO implements Serializable {

    /**
     * 人员编码
     */
    private String personCode;

    /**
     * 人员真实姓名
     */
    private String personRealName;

    /**
     * 人员证件类型
     */
    private String personCardType;

    /**
     * 人员证件号码
     */
    private String personCardNumber;

    /**
     * 人员曾用名
     */
    private String personOldName;

    /**
     * 人员性别（0女 1男 2未知）
     */
    private String personSex;

    /**
     * 人员出生年月日（yyyymmdd）
     */
    private String personBirthDate;

    /**
     * 人员类别 (0群众 1保安 2警察,3超级管理员 4. 一级管理员  5.二级管理员 6 自建人员 9 运营商  )
     */
    private String personClass;

    /**
     * 身高
     */
    private String personHeight;

    /**
     * 所属保安公司
     */
    private String personCompanyCode;

    /**
     * 政治面貌代码 政治面貌代码  01 群众 02 党员 03 团员 04 民主党派
     */
    private String personPolitics;

    /**
     * 民族代码
     */
    private String personNation;

    /**
     * 人员籍贯
     */
    private String personBirthAddress;

    /**
     * 人员居住地址
     */
    private String personLiveAddress;

    /**
     * 人员工作地址
     */
    private String personJobAddress;

    /**
     * 人员机构编码
     */
    private String personOrgCode;

    /**
     * 人员机构名称
     */
    private String personOrgName;

    /**
     * 人员职务编码
     */
    private String personPostCode;

    /**
     * 人员工作证件类型
     */
    private String personJobCardType;

    /**
     * 人员工作证件号码
     */
    private String personJobCardNumber;

    /**
     * 人员手机
     */
    private String personMobile;

    /**
     * 人员职务名称
     */
    private String personPostName;

    /**
     * 人员是否删除（0：正常；1：已删）
     */
    private String personDelFlag;

    /**
     * 电话归属运营商（1 移动，2 联通， 3 电信 9 未知）
     */
    private String personPhoneFlag;

    /**
     * 人员是否在职（0：正常-审核通过；1：离职-审核拒绝,2：初始化  ）
     */
    private String personJobFlag;

    /**
     * 人员描述
     */
    private String personDesc;

    /**
     * 人员状态
     */
    private String personStatus;


    /*  是否有保安证 0 没有  1 有     */
    private String personSecurityFlag;

    public String getPersonSecurityFlag() {
        return personSecurityFlag;
    }

    public void setPersonSecurityFlag(String personSecurityFlag) {
        this.personSecurityFlag = personSecurityFlag;
    }

    private static final long serialVersionUID = 1L;


    public String getPersonCode() {
        return personCode;
    }

    public void setPersonCode(String personCode) {
        this.personCode = personCode == null ? null : personCode.trim();
    }

    public String getPersonRealName() {
        return personRealName;
    }

    public void setPersonRealName(String personRealName) {
        this.personRealName = personRealName == null ? null : personRealName.trim();
    }

    public String getPersonCardType() {
        return personCardType;
    }

    public void setPersonCardType(String personCardType) {
        this.personCardType = personCardType == null ? null : personCardType.trim();
    }

    public String getPersonCardNumber() {
        return personCardNumber;
    }

    public void setPersonCardNumber(String personCardNumber) {
        this.personCardNumber = personCardNumber == null ? null : personCardNumber.trim();
    }

    public String getPersonOldName() {
        return personOldName;
    }

    public void setPersonOldName(String personOldName) {
        this.personOldName = personOldName == null ? null : personOldName.trim();
    }

    public String getPersonSex() {
        return personSex;
    }

    public void setPersonSex(String personSex) {
        this.personSex = personSex == null ? null : personSex.trim();
    }

    public String getPersonBirthDate() {
        return personBirthDate;
    }

    public void setPersonBirthDate(String personBirthDate) {
        this.personBirthDate = personBirthDate == null ? null : personBirthDate.trim();
    }

    public String getPersonClass() {
        return personClass;
    }

    public void setPersonClass(String personClass) {
        this.personClass = personClass == null ? null : personClass.trim();
    }

    public String getPersonHeight() {
        return personHeight;
    }

    public void setPersonHeight(String personHeight) {
        this.personHeight = personHeight == null ? null : personHeight.trim();
    }

    public String getPersonCompanyCode() {
        return personCompanyCode;
    }

    public void setPersonCompanyCode(String personCompanyCode) {
        this.personCompanyCode = personCompanyCode == null ? null : personCompanyCode.trim();
    }

    public String getPersonPolitics() {
        return personPolitics;
    }

    public void setPersonPolitics(String personPolitics) {
        this.personPolitics = personPolitics == null ? null : personPolitics.trim();
    }

    public String getPersonNation() {
        return personNation;
    }

    public void setPersonNation(String personNation) {
        this.personNation = personNation == null ? null : personNation.trim();
    }

    public String getPersonBirthAddress() {
        return personBirthAddress;
    }

    public void setPersonBirthAddress(String personBirthAddress) {
        this.personBirthAddress = personBirthAddress == null ? null : personBirthAddress.trim();
    }

    public String getPersonLiveAddress() {
        return personLiveAddress;
    }

    public void setPersonLiveAddress(String personLiveAddress) {
        this.personLiveAddress = personLiveAddress == null ? null : personLiveAddress.trim();
    }

    public String getPersonJobAddress() {
        return personJobAddress;
    }

    public void setPersonJobAddress(String personJobAddress) {
        this.personJobAddress = personJobAddress == null ? null : personJobAddress.trim();
    }

    public String getPersonOrgCode() {
        return personOrgCode;
    }

    public void setPersonOrgCode(String personOrgCode) {
        this.personOrgCode = personOrgCode == null ? null : personOrgCode.trim();
    }

    public String getPersonOrgName() {
        return personOrgName;
    }

    public void setPersonOrgName(String personOrgName) {
        this.personOrgName = personOrgName == null ? null : personOrgName.trim();
    }

    public String getPersonPostCode() {
        return personPostCode;
    }

    public void setPersonPostCode(String personPostCode) {
        this.personPostCode = personPostCode == null ? null : personPostCode.trim();
    }

    public String getPersonJobCardType() {
        return personJobCardType;
    }

    public void setPersonJobCardType(String personJobCardType) {
        this.personJobCardType = personJobCardType == null ? null : personJobCardType.trim();
    }

    public String getPersonJobCardNumber() {
        return personJobCardNumber;
    }

    public void setPersonJobCardNumber(String personJobCardNumber) {
        this.personJobCardNumber = personJobCardNumber == null ? null : personJobCardNumber.trim();
    }

    public String getPersonMobile() {
        return personMobile;
    }

    public void setPersonMobile(String personMobile) {
        this.personMobile = personMobile == null ? null : personMobile.trim();
    }

    public String getPersonPostName() {
        return personPostName;
    }

    public void setPersonPostName(String personPostName) {
        this.personPostName = personPostName == null ? null : personPostName.trim();
    }

    public String getPersonDelFlag() {
        return personDelFlag;
    }

    public void setPersonDelFlag(String personDelFlag) {
        this.personDelFlag = personDelFlag == null ? null : personDelFlag.trim();
    }

    public String getPersonJobFlag() {
        return personJobFlag;
    }

    public void setPersonJobFlag(String personJobFlag) {
        this.personJobFlag = personJobFlag == null ? null : personJobFlag.trim();
    }

    public String getPersonDesc() {
        return personDesc;
    }

    public void setPersonDesc(String personDesc) {
        this.personDesc = personDesc == null ? null : personDesc.trim();
    }

    public String getPersonStatus() {
        return personStatus;
    }

    public void setPersonStatus(String personStatus) {
        this.personStatus = personStatus == null ? null : personStatus.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", personCode=").append(personCode);
        sb.append(", personRealName=").append(personRealName);
        sb.append(", personCardType=").append(personCardType);
        sb.append(", personCardNumber=").append(personCardNumber);
        sb.append(", personOldName=").append(personOldName);
        sb.append(", personSex=").append(personSex);
        sb.append(", personBirthDate=").append(personBirthDate);
        sb.append(", personClass=").append(personClass);
        sb.append(", personHeight=").append(personHeight);
        sb.append(", personCompanyCode=").append(personCompanyCode);
        sb.append(", personPolitics=").append(personPolitics);
        sb.append(", personNation=").append(personNation);
        sb.append(", personBirthAddress=").append(personBirthAddress);
        sb.append(", personLiveAddress=").append(personLiveAddress);
        sb.append(", personJobAddress=").append(personJobAddress);
        sb.append(", personOrgCode=").append(personOrgCode);
        sb.append(", personOrgName=").append(personOrgName);
        sb.append(", personPostCode=").append(personPostCode);
        sb.append(", personJobCardType=").append(personJobCardType);
        sb.append(", personJobCardNumber=").append(personJobCardNumber);
        sb.append(", personMobile=").append(personMobile);
        sb.append(", personPostName=").append(personPostName);
        sb.append(", personDelFlag=").append(personDelFlag);
        sb.append(", personJobFlag=").append(personJobFlag);
        sb.append(", personDesc=").append(personDesc);
        sb.append(", personStatus=").append(personStatus);
        sb.append(", createCode=").append(createCode);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateCode=").append(updateCode);
        sb.append(", updateDate=").append(updateDate);
        sb.append("]");
        return sb.toString();
    }

    public String getPersonPhoneFlag() {
        return personPhoneFlag;
    }

    public void setPersonPhoneFlag(String personPhoneFlag) {
        this.personPhoneFlag = personPhoneFlag;
    }
}